<?php


namespace App\Utils;


use Hyperf\Snowflake\IdGeneratorInterface;

class IdUtil
{
    /**
     * @return string
     */
    static function next(): string
    {
        $generator = container()->get(IdGeneratorInterface::class);
        return $generator->generate() . "";
    }
}